# Contributor: Francesco Camuffo <dev@fmac.xyz>
# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=hare-scfg
pkgver=0.24.2
pkgrel=0
pkgdesc="scfg implementation for Hare"
url="https://git.sr.ht/~chrisppy/hare-scfg"
arch="noarch !armhf !armv7 !ppc64le !s390x !x86 !loongarch64" # blocked by hare
license="MPL-2.0"
makedepends="hare"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~chrisppy/hare-scfg/archive/$pkgver.tar.gz"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
bb9ced6a13f794f84b93174d58c59110003025e9ce449022683b9b779bb9dc5d34c9cdfa8be83d7c8e0645edf928ec8af2506f3c268b9bc9aea7a2b5e73b2916  hare-scfg-0.24.2.tar.gz
"
